dict1 = {1: 11, 2: 22, 3: 33}
newlist = []
for key, value in dict1.items():
    print(key, value)
    newlist.append(key)
print(newlist)
